package tm.pojo.dto;

import lombok.Data;

/**
 * @author Rocky
 * @create 2022-09-26 13:30
 */

public class HomePageDto {
    private Integer visitUserId;
    private Integer userId;
    private String longitude;//经度
    private String latitude;//维度
    private Long currentTime;//当前时间
    private Long severDayTime;//七天前时间

    public Integer getVisitUserId() {
        return visitUserId;
    }

    public void setVisitUserId(Integer visitUserId) {
        this.visitUserId = visitUserId;
    }

    public Long getSeverDayTime() {
        this.severDayTime=this.currentTime-604800l;
        return severDayTime;
    }

    public void setSeverDayTime(Long severDayTime) {
        this.severDayTime = severDayTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Long getCurrentTime() {
        return currentTime;
    }

    public void setCurrentTime(Long currentTime) {
        this.currentTime = currentTime;
    }
}
